﻿package server;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.sql.ResultSet;
import java.sql.SQLException;

public interface ResTableInterface extends Remote{
	public int getTableNumber(int size)throws RemoteException;
	
	public boolean addTableNumber(int tableNumber,int size) throws RemoteException,SQLException; 
	public int getTableSize(int tableNum)throws RemoteException;
	public boolean setTableSize(int tableNum,int tableSize)throws RemoteException;
	public boolean isTableState()throws RemoteException;
	public boolean setTableState(int tableNum,int tableState)throws RemoteException;


public int getTableListSize()throws RemoteException;
}